<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        // 循环的目的 重复执行某些代码
        console.log('-----------------');
        for (var i =1;i <= 100;i++){
            console.log('1')
        }
    </script>
</head>
<body>

</body>
</html>